
import "./public-path"
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

function render(props = {}) {
  const { container } = props;
 new Vue({
    router,
    store,
    render: (h) => h(App),
  }).$mount(container ? container.querySelector('#app') : '#app');
}

if(!window.__POWERED_BY_QIANKUN__){
  render()
}

export async function bootstrap(){

}
export async function mount(props){
  render(props)
}
export async function unmount(){
  
}
